#ifndef CHESS_H
#define CHESS_H

#include<QPoint>
class Chess   //棋子类
{
public:
    Chess(QPoint _pos,int _color);
    QPoint pos; //落子的位置
    int color;  //棋子的颜色

    bool operator ==(const Chess& chess) const
    {
        return (chess.pos == pos)&&(chess.color == color);
    }
signals:

};

#endif // CHESS_H
